#ifndef _MYHASHMAP
#define _MYHASHMAP
#define _GNU_SOURCE
#include <stdio.h>
#include <search.h>
#include <string.h>
#include <stdlib.h>
typedef struct{
	struct hsearch_data *htab;
	int size;
	int maxSize;
}hashmap;
int hashmap_put(hashmap *map,char *key,void *value);
void* hashmap_get(hashmap *map,char *key);
hashmap* hashmap_create(int maxSize);
int hashmap_destroy(hashmap* map);
#endif
